home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14190 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Connecting a process to a tty
  5. Date: Fri, 12 Apr 96 11:31:21 GMT
  6. Organization: none
  7. Message-ID: <829308681snz@genesis.demon.co.uk>
  8. References: <slrn44mrp31.ekr.sandforr@mcnet.marietta.edu>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <slrn44mrp31.ekr.sandforr@mcnet.marietta.edu>
  15.            sandforr@mcnet.marietta.edu "Robert Sandford" writes:
  16.  
  17. > I been working on a shell that a user telnets into through a port number for
  18. > example:
  19. >
  20. > telnet mycomputer 2150
  21. >
  22. > Once the user logs in they have a shell somewhat like csh. The problem I am
  23. > having is
  24. > starting a process that would connect to a tty so they can use write, talk and
  25. > other
  26. > programs that use pseudo-ttys. I can disconnect a process from a tty by using
  27. > ioctl
  28. > function but I am stumped on connecting or reconnecting a process back to a
  29. > tty.
  30.  
  31. You're assking about things that have no meaning in the C language, and are
  32. only defined under Unix. Try comp.unix.programmer.
  33.  
  34. -- 
  35. -----------------------------------------
  36. Lawrence Kirby | fred@genesis.demon.co.uk
  37. Wilts, England | 70734.126@compuserve.com
  38. -----------------------------------------
  39.